SET(TARGET "max")
SET(PRODUCT "MAX")

FILE(GLOB HEADER include/*.h)
FILE(GLOB SRC src/*.cpp src/*.h)

SET_TARGET_LIB(${TARGET} PRIVATE ${SRC} ${HEADER})

IF(WITH_PCH)
  ADD_NATIVE_PRECOMPILED_HEADER(${TARGET} ${CMAKE_CURRENT_SOURCE_DIR}/src/common.h ${CMAKE_CURRENT_SOURCE_DIR}/src/common.cpp)
ENDIF(WITH_PCH)
